Learn about managing Metadata for Video formats....Metadata Product Solution GroupDocs...Product Solution GroupDocs.Watermark Product Solution GroupDocs...
This API allows you to redact, hide, or remove private contents in any type of file format using Java language on any platform....Metadata Product Family GroupDocs.Search...Product Family GroupDocs.Watermark Product Family GroupDocs.Merger...
For all supported image formats the GroupDocs.Metadata API allows extracting common image properties such as width and height, MIME type, byte order, etc. Please see the code snippet below for more information on the feature.
Load an image Extract the root Metadata package Use the getImageType method to obtain file format information advanced_usage.managing_Metadata_for_specific_formats.image.ImageReadFileFormatProperties
try (MetadataMetadata = new Metadata(Constants.InputPng)) { ImageRootPackage root = Metadata.getRootPackageGeneric(); System.out.println(root.getImageType().getFileFormat()); System.out.println(root.getImageType().getByteOrder()); System.out.println(root.getImageType().getMimeType()); System.out.println(root.getImageType().getExtension()); System.out.println(root.getImageType().getWidth()); System.out.println(root.getImageType().getHeight()); } More resources GitHub examples You may easily run the code above and see the feature in action in our GitHub examples:...Metadata Product Solution GroupDocs...Product Solution GroupDocs.Watermark Product Solution GroupDocs...
Why To Migrate? Here are the key reasons to use the new updated API provided by GroupDocs.Parser for Java since version 19.11:
Parser class is introduced as a single entry point to extract data from the document. Data extraction was unified for all data types. The overall document related classes were unified to common. Product architecture was redesigned from scratch in order to simplify passing options and classes to manipulate data....Metadata Product Solution GroupDocs...Product Solution GroupDocs.Watermark Product Solution GroupDocs...
This code snippet demonstrates how to extract information about known properties that can be encountered in a particular package.
Load a file to examine Get a collection of PropertyDescriptor instances for any desired Metadata package Iterate through the extracted descriptors advanced_usage.GettingKnownPropertyDescriptors
JavaScript const Metadata = new groupdocs.Metadata.Metadata("input.doc"); var root = Metadata.getRootPackageGeneric(); var descriptors = root.getDocumentProperties().getKnowPropertyDescriptors(); for(var i=0;iMetadata Product Solution GroupDocs...Product Solution GroupDocs.Watermark Product Solution GroupDocs...
OpenType is a format for scalable computer fonts. It was built on its predecessor TrueType, retaining TrueType’s basic structure and adding many intricate data structures for prescribing typographic behavior.
Note Please find more information on the OpenType format here: https://en.wikipedia.org/wiki/OpenType. Reading OpenType Metadata The GroupDocs.Metadata API supports extracting format-specific information from OpenType font files.
The following are the steps to read the header of an OpenType file.
Load an OpenType font file Get the root Metadata package Extract the native Metadata package using OpenTypeRootPackage....Metadata Product Solution GroupDocs...Product Solution GroupDocs.Watermark Product Solution GroupDocs...
GroupDocs.Metadata allows users to get meta information of a document....Metadata Product Solution GroupDocs...Product Solution GroupDocs.Watermark Product Solution GroupDocs...
This article shows how to save the modified content to the underlying source in Java....Metadata Product Solution GroupDocs...Product Solution GroupDocs.Watermark Product Solution GroupDocs...